package cn.njupt;

public interface Heap<E>{

    public abstract  int size();

    public abstract boolean isEmpty();

    public abstract void add(E element);

    public abstract E remove();

    public abstract E replace(E element);

    public abstract E get();

    public abstract void clear();
}
